package com.itheima.date;

import java.util.Date;

/*
创建date对象
 */
public class Demo02 {
    public static void main(String[] args) {


        Date date= new Date();
        Date date2 = new Date(System.currentTimeMillis());
        System.out.println(date);
        System.out.println(date2);

        Date date1 = new Date(100023415153L);
        System.out.println(date1);

    }

}
